<style lang="less" scoped>
.component {
    .container {
        position: relative;
    }
    .title2 {
        position: relative;
        display: flex;
        height: 20px;
        margin-bottom: 0.15rem;
        div {
            flex: 1;
            font-size: 0.14rem;
            color: #333333;
        }
        p {
            width: 20px;
            height: 20px;
        }
    }
    .body2 {
        background-color: #fff;
        border-radius: 8px;
        font-size: 0.12rem;
        .row {
            display: flex;
            padding-bottom: 0.15rem;
            label {
                color: #999999;
                min-width: 0.7rem;
            }
            span {
                flex: 1;
                text-align: right;
            }
        }
    }
}
</style>
<template>
    <div class="component">
        <div class="container">
            <div class="title2">
                <div>开票信息</div>
                <p class="more foldopen"></p>
            </div>
            <div class="body2">
                <div class="row">
                    <label>单位名称：</label>
                    <span>{{ cdata.corp_name }}</span>
                </div>
                <div class="row">
                    <label>税号：</label>
                    <span>{{ cdata.tax_no }}</span>
                </div>
                <div class="row">
                    <label>单位地址：</label>
                    <span>{{ cdata.corp_address }}</span>
                </div>
                <div class="row">
                    <label>单位电话：</label>
                    <span>{{ cdata.corp_phone }}</span>
                </div>
                <div class="row">
                    <label>开户银行：</label>
                    <span>{{ cdata.corp_bank }}</span>
                </div>
                <div class="row">
                    <label>银行账户：</label>
                    <span>{{ cdata.corp_account }}</span>
                </div>
                <div class="row">
                    <label>开票码：</label>
                    <span>{{ cdata.corp_bill_no }}</span>
                </div>
            </div>
        </div>
    </div>
</template>
<script>
export default {
    data() {
        return {
            
        };
    },
    props: {
        cdata: {
            type: Object,
            default: function() {
                return {};
            }
        }
    },
    methods: {
    },
    mounted() {
    }
};
</script>
